package com.mjh.zhujianju.dao.supervise;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.supervise.SupervisionEO;
import com.mjh.zhujianju.vo.supervision.StatisticsVO;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SupervisionMapper extends BaseMapper<SupervisionEO> {

	List<SupervisionEO> selectByUserId(@Param("userId") Long userId);

	List<SupervisionEO> selectByCondition(StatisticsVO vo);

	List<SupervisionEO> getSupervisionIdBySupervisionUserId(@Param("userId") Long userId);
	
	List<SupervisionEO> selectByStatistics(StatisticsVO vo);

	/**
	 * 查询未开始的
	 * @return
	 */
	List<SupervisionEO> selectNoStartLetteringList();
}